package com.itheima.filedemo;

import java.io.File;

public class Demo01 {

    public static void main(String[] args) {
        //\ 在java代码中是转义的意思
        //想在java中表示\  \\
        System.out.println(" \\ ");
        File file = new File("D:\\");
        //盘符, 文件夹名 , 文件名.后缀名
        File file1 = new File("D:\\1024.log");
        File file2 = new File("D:\\","1024.log");
        File file3 = new File(file,"1024.log");


    }
}
